package org.rslai.tcedit.web;

import java.util.*;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import org.rslai.tcedit.web.core.AbstractMvcController;

/**
 * Login controller。为了得到 ACEGI 的错误返回信息。
 * 
 * @author rslai
 * 
 * @spring.bean name="/login.jspx"
 */
public class LoginController extends AbstractMvcController {

	@Override
	public Map getModel(HttpServletRequest request, HttpServletResponse response) throws Exception {
		String message = "";
		
		HttpSession session = request.getSession();
		
		message = "message";

		Map map = new HashMap();
		map.put("message", message);
		return map;
	}

	@Override
	public String getView(HttpServletRequest request, HttpServletResponse response) {
		return "/login.htm";
	}

}
